package com.wzy.staticProxy;

import com.wzy.staticProxy.impl.UserDao;
import com.wzy.staticProxy.impl.UserDaoProxy;

public class Test {

    public static void main(String[] args) {
        //创建目标对象
        UserDao target = new UserDao();

        //创建代理对象
        UserDaoProxy proxy = new UserDaoProxy(target);
        proxy.save();
    }
}
